package com.system.brandsserver.mapper;

import com.system.commonutils.pojo.GoodsBrand;

import com.system.commonutils.pojo.GoodsType;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 * User: ll
 * Date: 2020/07/07 11:00
 * Description:
 * Version: V1.0
 */


@Repository
public interface BrandMapper {


    int delBrand(GoodsBrand goodsBrand);

    List<GoodsBrand> queryBrand(GoodsBrand goodsBrand);

    int querytotalSize(GoodsBrand goodsBrand);

    List<GoodsBrand> selectBrand(GoodsBrand goodsBrand);


    List<GoodsBrand> isExist(String getGoodsBrand_name);

    int addBrand(GoodsBrand goodsBrand);

    List<GoodsType> isExistBesidesMe(GoodsBrand goodsBrand);

    int editBrand(GoodsBrand goodsBrand);
}
